FROM golang:1.9.7-alpine3.7

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update 
RUN apk add --no-cache git make openssl gcc

RUN mkdir -p /ngrok
WORKDIR /ngrok

EXPOSE 80
EXPOSE 443
EXPOSE 4432

VOLUME [ "/ngrok" ]
# CMD ["/ngrok/bin/ngrokd"]